package com.example.cloudcashierpos.bean;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.math.BigDecimal;
import org.greenrobot.greendao.annotation.Generated;
// 菜品表
@Entity
public class corecmsfood {
    @Id
    // 序列
    public long id;

    // 品牌id
    public int corpId;

    // 门店id
    public int storeId;

    // 菜品分类id
    public long foodTypeId;

    // 默认规格id
    public long foodSpecId;

    // 菜品类型(1.普通菜；2.套菜；3.线下临时菜；4.打包盒)
    public int type;

    // 菜品编码
    public String number;

    // 菜品名称
    public String name;

    // 菜品别名
    public String byName;

    // 支持业务类型可多选（1.堂食；2.外卖；3.自提；）
    public String businessType;

    // 菜品状态(1在售；2停售；0尚未起售)
    public String sellStatus;

    // 是否多规格
    public boolean specFlag;

    // 是否删除
    public boolean isDelete;

    // 是否称重
    public Boolean isHeft;

    // 数字助记码
    public String helpCode;

    // 拼音助记码
    public String pinYin;

    // 保质期
    public Integer warrantyValue;

    // 保质期单位（0天；1年；2月；3小时；4分钟）
    public Integer warrantyType;

    // 是否需要打印
    public Boolean isPrint;

    // 收银端是否允许改价
    public Boolean isChangePrice;

    // 收银端是否允许打折
    public Boolean isDiscount;

    // 最低折扣
    public Double minDiscount;

    // 起售份数
    public Integer upSell;

    // 增量售卖
    public Integer addSell;

    // 菜品图片
    public String image;

    // 出品部门
    public Long departId;

    // 菜品描述
    public String remark;

    // 修改时间
    public Long modifyTime;

    // 菜品排序
    public Integer sort;

    // 积分类型（1：固定积分，2：销售额百分比）
    public Integer pointType;

    // 积分值（-1表示不参与）
    public Double pointValue;

    // 库存数量
    public Double quantity;

    // 组织机构Id
    public int organizationId = 0;

    @Generated(hash = 384788577)
    public corecmsfood(long id, int corpId, int storeId, long foodTypeId,
            long foodSpecId, int type, String number, String name, String byName,
            String businessType, String sellStatus, boolean specFlag,
            boolean isDelete, Boolean isHeft, String helpCode, String pinYin,
            Integer warrantyValue, Integer warrantyType, Boolean isPrint,
            Boolean isChangePrice, Boolean isDiscount, Double minDiscount,
            Integer upSell, Integer addSell, String image, Long departId,
            String remark, Long modifyTime, Integer sort, Integer pointType,
            Double pointValue, Double quantity, int organizationId) {
        this.id = id;
        this.corpId = corpId;
        this.storeId = storeId;
        this.foodTypeId = foodTypeId;
        this.foodSpecId = foodSpecId;
        this.type = type;
        this.number = number;
        this.name = name;
        this.byName = byName;
        this.businessType = businessType;
        this.sellStatus = sellStatus;
        this.specFlag = specFlag;
        this.isDelete = isDelete;
        this.isHeft = isHeft;
        this.helpCode = helpCode;
        this.pinYin = pinYin;
        this.warrantyValue = warrantyValue;
        this.warrantyType = warrantyType;
        this.isPrint = isPrint;
        this.isChangePrice = isChangePrice;
        this.isDiscount = isDiscount;
        this.minDiscount = minDiscount;
        this.upSell = upSell;
        this.addSell = addSell;
        this.image = image;
        this.departId = departId;
        this.remark = remark;
        this.modifyTime = modifyTime;
        this.sort = sort;
        this.pointType = pointType;
        this.pointValue = pointValue;
        this.quantity = quantity;
        this.organizationId = organizationId;
    }

    @Generated(hash = 593553655)
    public corecmsfood() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getCorpId() {
        return this.corpId;
    }

    public void setCorpId(int corpId) {
        this.corpId = corpId;
    }

    public int getStoreId() {
        return this.storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public long getFoodTypeId() {
        return this.foodTypeId;
    }

    public void setFoodTypeId(long foodTypeId) {
        this.foodTypeId = foodTypeId;
    }

    public long getFoodSpecId() {
        return this.foodSpecId;
    }

    public void setFoodSpecId(long foodSpecId) {
        this.foodSpecId = foodSpecId;
    }

    public int getType() {
        return this.type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getByName() {
        return this.byName;
    }

    public void setByName(String byName) {
        this.byName = byName;
    }

    public String getBusinessType() {
        return this.businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getSellStatus() {
        return this.sellStatus;
    }

    public void setSellStatus(String sellStatus) {
        this.sellStatus = sellStatus;
    }

    public boolean getSpecFlag() {
        return this.specFlag;
    }

    public void setSpecFlag(boolean specFlag) {
        this.specFlag = specFlag;
    }

    public boolean getIsDelete() {
        return this.isDelete;
    }

    public void setIsDelete(boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Boolean getIsHeft() {
        return this.isHeft;
    }

    public void setIsHeft(Boolean isHeft) {
        this.isHeft = isHeft;
    }

    public String getHelpCode() {
        return this.helpCode;
    }

    public void setHelpCode(String helpCode) {
        this.helpCode = helpCode;
    }

    public String getPinYin() {
        return this.pinYin;
    }

    public void setPinYin(String pinYin) {
        this.pinYin = pinYin;
    }

    public Integer getWarrantyValue() {
        return this.warrantyValue;
    }

    public void setWarrantyValue(Integer warrantyValue) {
        this.warrantyValue = warrantyValue;
    }

    public Integer getWarrantyType() {
        return this.warrantyType;
    }

    public void setWarrantyType(Integer warrantyType) {
        this.warrantyType = warrantyType;
    }

    public Boolean getIsPrint() {
        return this.isPrint;
    }

    public void setIsPrint(Boolean isPrint) {
        this.isPrint = isPrint;
    }

    public Boolean getIsChangePrice() {
        return this.isChangePrice;
    }

    public void setIsChangePrice(Boolean isChangePrice) {
        this.isChangePrice = isChangePrice;
    }

    public Boolean getIsDiscount() {
        return this.isDiscount;
    }

    public void setIsDiscount(Boolean isDiscount) {
        this.isDiscount = isDiscount;
    }

    public Double getMinDiscount() {
        return this.minDiscount;
    }

    public void setMinDiscount(Double minDiscount) {
        this.minDiscount = minDiscount;
    }

    public Integer getUpSell() {
        return this.upSell;
    }

    public void setUpSell(Integer upSell) {
        this.upSell = upSell;
    }

    public Integer getAddSell() {
        return this.addSell;
    }

    public void setAddSell(Integer addSell) {
        this.addSell = addSell;
    }

    public String getImage() {
        return this.image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Long getDepartId() {
        return this.departId;
    }

    public void setDepartId(Long departId) {
        this.departId = departId;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(Long modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getSort() {
        return this.sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getPointType() {
        return this.pointType;
    }

    public void setPointType(Integer pointType) {
        this.pointType = pointType;
    }

    public Double getPointValue() {
        return this.pointValue;
    }

    public void setPointValue(Double pointValue) {
        this.pointValue = pointValue;
    }

    public Double getQuantity() {
        return this.quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public int getOrganizationId() {
        return this.organizationId;
    }

    public void setOrganizationId(int organizationId) {
        this.organizationId = organizationId;
    }
}